package com.ade.warehouse.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="sys_user")
public class User implements Serializable{

	@Id
	private String id;//


	
	private String name;//
	private String password;//
	private String email;//
	private String phone;//
	private String mobile;//
	private String sex;//
	private String pic;//
	private String roleId;//

	
	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getName() {		
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {		
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {		
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {		
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMobile() {		
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getSex() {		
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPic() {		
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getRoleId() {		
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	@Override
	public String toString() {
		return "User{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", password='" + password + '\'' +
				", email='" + email + '\'' +
				", phone='" + phone + '\'' +
				", mobile='" + mobile + '\'' +
				", sex='" + sex + '\'' +
				", pic='" + pic + '\'' +
				", roleId='" + roleId + '\'' +
				'}';
	}
}
